package org.jeecg.modules.golf.plan.service;

import org.jeecg.modules.golf.plan.entity.PlanTypeMapping;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 方案分类方案关联
 * @Author: jeecg-boot
 * @Date:   2020-10-20
 * @Version: V1.0
 */
public interface IPlanTypeMappingService extends IService<PlanTypeMapping> {

	 List<PlanTypeMapping> selectByMainId(Long mainId);

	 List<PlanTypeMapping> selectByPlanIdList(List<Long> planIdList);


	/**
	 * 批量保存planType
	 * @param planTypeMappings
	 */
	void savePlanTypeMapping(List<PlanTypeMapping> planTypeMappings,Long planId);


}
